package com.zt.bus.line.inter;

import com.zt.bus.line.model.LinePlanSchedule;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LinePlanScheduleMapper {
    int deleteByPrimaryKey(String id);

    int insert(LinePlanSchedule record);

    LinePlanSchedule selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(LinePlanSchedule record);

    int updateByPrimaryKey(LinePlanSchedule record);

    List<LinePlanSchedule> selectByPlanIdAndDepartDateBetween(@Param("planId") String planId,
            @Param("startDate") Date startDate, @Param("endDate") Date endDate);
}
